{{ URL::previous() }}
// Get the base URL. echo url(''); // Get the app URL from configuration which we set in .env file. echo config('app.url');
use Illuminate\Support\Facades\URL; echo URL::current();